EnterSupervisorMode
EnterSupervisorMode Switch caller into supervisor mode
#include <Memory.h> Memory Manager
Debugger Support Under Virtual Memory
StatusRegisterContents EnterSupervisorMode( );
returns a short indicating the previous contents of the
status register
This call switches the caller into supervisor mode. The contents of the
previous status register is returned so that when the debugger returns to the
interrupted code, the previous interrupt level, condition codes, and so forth,
can be re stored. When the debugger is ready to return to user mode, it simply
loads the status register with the result returned in D0.

Notes: Because a debugger is typically activated through one of the processor
vectors, it normally executes in supervisor mode, allowing it access to all
of memory and all processor registers. When the debugger is entered in
another way-for example, through the Debugger or DebugStr trap or
when it is first loaded-it is necessary to enter supervisor mode. You can
accomplish this with EnterSupervisorMode.